package cn.itcast.bos.service.system;


import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import cn.itcast.bos.domain.system.User;

public interface UserService {

	User findByUsername(String username);


	void save(User model, String[] roleIds);

	Page<User> findAll(Specification<User> spec, Pageable pageable);

}
